Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Vertically Align Navbar Items with Brand Name #12

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Teja-11
Copy link
Contributor

@Teja-11 Teja-11 commented Nov 14, 2023

This pull request addresses a layout issue in the header navigation where the navbar items were not aligned vertically with the brand name. By applying inline CSS styles, we ensure that the navbar-toggler, navbar-brand, and navbar-collapse are centered along the same line, improving the visual coherence of the header. The implemented changes use flexbox to align items centrally and apply auto margins to manage spacing, making the header appear more structured and aesthetically pleasing across various screen sizes.

@Teja-11 Teja-11 changed the title Fix: Vertically Align Navbar Items with Brand Name fix: Vertically Align Navbar Items with Brand Name Nov 14, 2023
Copy link

codecov bot commented Nov 14, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (79bd3c4) 94.03% compared to head (311e21f) 94.30%.
Report is 5 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
+ Coverage   94.03%   94.30%   +0.26%     
==========================================
  Files           9        9              
  Lines         151      158       +7     
==========================================
+ Hits          142      149       +7     
  Misses          9        9              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Owner

@Niloth-p Niloth-p left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No visible changes to the vertical alignment.

The alignment issue most probably has to do with the hierarchy of elements with bootstrap classes, not their styling. Also, it's not a good idea to use inline styles to override a lot of the bootstrap styling this way.

@Niloth-p
Copy link
Owner

I'll be adding more modular issues in a couple of weeks.
I'm planning to redesign the header a bit as well, then. Will break it down into small issues.
Hang tight!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants